package com.kb.design.vo;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.kb.design.config.ListIntegerTypeHandler;
import com.kb.design.enums.DesignStatus;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Data
public class ProjectListVO {

    private String relevantResponsiblePerson;
    private String bonusPerson;
    private String checkPersonList;
    private String pageBonusPerson;
    private String designBonusPerson;
    private String valorBonusPerson;
    /**
     * 项目名称
     */
    private String projectName;
    private String type;
    //识别是否点击保存
    private String operationType;
    private String projectNumber;
    private String deliveryTime;
    private Integer extensionTime;
    /**
     * 负责人
     */
    private String responsiblePersonId;
    private String responsiblePersonName;
    private Boolean isGenerateProject;
    /**
     * 订单id
     */
    private Long orderId;
    private String orderNo;
    //    private Long encapsulationId;
    private Long projectId;
    private Long id;
    /**
     * 版本
     */
    private Integer version;

    /**
     * 项目状态
     */

    private String status;
    private String designRemark;
    private String orderRemark;
    /**
     * 合同附件
     */
    private String contractFilePath;
    /**
     * 创建人
     */
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createTime;

    private String createBy;
    private String createByName;
    /**
     * 更新人
     */
    private Date updateTime;

    private String updateBy;
    /**
     * 封装人员
     */
    private String encapsulationUser;
    //项目截止时间
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date projectEndDate;

    private String pinAmount;
    private String layers;

    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date startDate;

    private String customerCode;
    private String customerName;
    /**
     * 类型
     * 已下单 有订单数据绑定
     * 未下单 没有订单数据绑定
     */
    private String projectType;
    /**
     * 布线完成率
     */
    private Integer completionRate;
    private String designSoftware;
    private String designStatus;
    private String designStatusEnum;
    private String projectStatusEnum;
    private String valorLeader;
    private String designLeader;
    private String designName;
    private String pageLeader;
    private String pageName;
    private String projectStatusAuxiliary;
    private String salesCode;
    private String deptName;
    private String designDepartments;
    private String distribution;
    private String described;
    private String orderStatus;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate loadingPlateTime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate warehousingTime;

}
